package cn.alm.springmvcrestfulcrud.dao;

import cn.alm.springmvcrestfulcrud.entity.Employee;

import java.util.List;

public interface EmployeeDao {

    Integer add(Employee employee);

    Integer delete(Integer id);

    Integer update(Employee employee);

    Employee get(Integer id);

    List<Employee> list();

}
